package com.zf.museum.repository;

import com.zf.museum.model.User;
import com.zf.museum.model.Wrong;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface WrongRepository extends JpaRepository<Wrong, Long>{

    Wrong getWrongByUser(User user);


}
